import {GET, POST} from "/@/utils/request";
import {INTERFACE_URL} from "/@/config/inteface";

//首页状态
export const basicState = (params) => {
    return GET(INTERFACE_URL.basicState, params)
}

// 底盘模式调整
export const chassisModeAdjust = (params) => {
    return POST(INTERFACE_URL.chassisModeAdjust, params)
}

// 档位调整
export const gearAdjust = (params) => {
    return POST(INTERFACE_URL.gearAdjust, params)
}

// 吸尘速度调整
export const cleanSpeedAdjust = (params) => {
    return POST(INTERFACE_URL.cleanSpeedAdjust, params)
}

// 自适应状态调整
export const selfAdaptiveAdjust = (params) => {
    return POST(INTERFACE_URL.selfAdaptiveAdjust, params)
}

// 增程器调整
export const rangeExtendAdjust = (params) => {
    return POST(INTERFACE_URL.rangeExtendAdjust, params)
}

// 车灯调整
export const carLightAdjust = (params) => {
    return POST(INTERFACE_URL.carLightAdjust, params)
}

// 位置模式调整
export const adaptivePositionAdjust = (params) => {
    return POST(INTERFACE_URL.adaptivePositionAdjust, params)
}

// 吸尘状态调整
export const dustAbsorptionAdjust = (params) => {
    return POST(INTERFACE_URL.dustAbsorptionAdjust, params)
}

// 吸尘状态调整
export const initAlignmentAdjust = (params) => {
    return POST(INTERFACE_URL.initAlignmentAdjust, params)
}

// 车速调整
export const carSpeedAdjust = (params) => {
    return POST(INTERFACE_URL.carSpeedAdjust, params)
}